package homework.day07.bean;

/**
 * @author ThinkBook
 */
public class Person {
    private String name;

    public Person(String name){
        this.name = name;

    }
    public void drive(Vehicle vehicle,String destination){
        System.out.println(this.name+"开"+vehicle+"去"+destination);
    }
}
